import service from "@/utils/request";

export function getQuestionListService(params) {
  return service({
    url: "/question/semiLogin/list",
    method: "get",
    params,
  });
}
export function getHotQuestionListService() {
    return service({
      url: "/question/semiLogin/hotQuestion",
      method: "get"
    });
}
export function getQuestionDetailService(questionId) {
  return service({
    url: "/question/detail",
    method: "get",
    params: {questionId},
  });
}
export function preQuestionService(questionId) {
  return service({
    url: "/question/preQuestion",
    method: "get",
    params: {questionId},
  });
}
export function nextQuestionService(questionId) {
  return service({
    url: "/question/nextQuestion",
    method: "get",
    params: {questionId},
  });
}
